<!--
  @author heguanghua
  @since 2019/06/12 11:57
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="common/common::jscss"/>
<body>


<div class="layui-fluid">

    <blockquote class="layui-crumb">
        渠道管理>
        <a lay-href="/channel/list.action">渠道管理</a>>
        <a th:href="'/channel/detail.action?channelId='+${obj.channelId}">[[${obj.name}]]</a>>
        <zmn th:text="订单库存">订单库存</zmn>
    </blockquote>

    <div class="layui-card">

        <div th:replace="channel/_tab::tab"></div>

        <div class="layui-card-body">
            <iframe th:if="${!stockLimit}" scrolling="no" frameborder="0" style="width:100%;height: 720px;"
                    th:src="|${session.SCM.value}/channel/config/list.action?channelId=${obj.channelId}&pageSize=100|"></iframe>
            <div th:if="${stockLimit}">因渠道方原因，此渠道，不受库存限制！</div>
        </div>
    </div>

</div>
</body>
</html>

<script type="text/javascript" th:inline="javascript">
    layui.config({
        base: "/static/lay/",
        version: 202005081355
    }).extend({
        index: "lib/index",
    }).use(['index']);
</script>
